﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Metadata.aspx.cs" Inherits="ORS.Metadata.Metadata" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <style type="text/css">
        #SelectXml
        {
            width: 192px;
        }
        
        .lih li
        {
            height: 30px;
            width: 270px;
            text-align: right;
            list-style: none;
        }
    </style>
    <script type="text/javascript">
        function GetValue() {
            var province = document.getElementById("SelectXml");
            var hid1 = document.getElementById("HiddenField1");
            var value1 = province.value;
            hid1.value = value1;

        }

        function getdata() {
            $.ajax({
                type: "POST",
                url: "GetPzXML.aspx",
                data: { DoType: "Add", VAL: val, VALF: valF, VAL_T: val_t, ID: id, ID1: id1, FILENAME: filename },
                success: function (result) {
                    if (result == 1) {
                        alert("保存成功！");
                    }
                    else {
                        alert("保存失败！");
                    }
                }
            });
        }
    </script>
</head>
<body onload="GetValue()">
    <form id="form1" runat="server">
    <div style="position: relative;">
        <div style="margin-left: -20px; top: 5px; left: 30px; position: absolute;">
            <p>
                选择数据文件：<asp:FileUpload ID="FileUpload1" runat="server" Width="228px" Height="20px" /></p>
        </div>
        <div style="margin-left: -20px; top: 5px; left: 400px; position: absolute;">
            <p>
                选择XML解析文件：<select id="SelectXml" onchange="GetValue()">
                    <%=xmldata %>
                </select>
            </p>
        </div>
        <div style="margin-left: -20px; top: 20px; left: 750px; position: absolute;">
            <asp:Button ID="Button1" runat="server" Text="解析数据文件" OnClick="Button1_Click" />
            <asp:Label ID="Label1" runat="server" Visible="False" Text="Label" ForeColor="Red"></asp:Label>
            <asp:HiddenField ID="HiddenField1" runat="server" />
        </div>
    </div>
    <div style="position: relative; top: 60px;">
        <fieldset>
            <legend>源文件参数提取和存储</legend>
            <div style="position: relative;">
                <div style="margin-left: -60px; margin-top: -10px;">
                    <ul class="lih">
                        <li>平台载体：<asp:TextBox ID="ptztxx" runat="server"></asp:TextBox></li>
                        <li>摄区名称：<asp:TextBox ID="sqmcxx" runat="server"></asp:TextBox></li>
                        <li>数学投影：<asp:TextBox ID="sxtyxx" runat="server"></asp:TextBox></li>
                        <li>左上角经度：<asp:TextBox ID="zsjjdxx" runat="server"></asp:TextBox></li></ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 250px; position: absolute;">
                    <ul class="lih">
                        <li>图像格式：<asp:TextBox ID="txgsxx" runat="server"></asp:TextBox></li>
                        <li>坐标系统：<asp:TextBox ID="zbxt" runat="server"></asp:TextBox></li>
                        <li>传感器名称：<asp:TextBox ID="cgqmc" runat="server"></asp:TextBox></li>
                        <li>左上角纬度：<asp:TextBox ID="zsjwd" runat="server"></asp:TextBox></li></ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 515px; position: absolute;">
                    <ul class="lih">
                        <li>像素位数：<asp:TextBox ID="xsws" runat="server"></asp:TextBox></li>
                        <li>成图比例尺：<asp:TextBox ID="ctblc" runat="server"></asp:TextBox></li>
                        <li>地面分辨率m：<asp:TextBox ID="dmfbl" runat="server"></asp:TextBox></li>
                        <li>右下角经度：<asp:TextBox ID="yxjjd" runat="server"></asp:TextBox></li></ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 790px; position: absolute;">
                    <ul class="lih">
                        <li>成像日期：<asp:TextBox ID="cxrq" runat="server"></asp:TextBox></li>
                        <li>图像大小(行)：<asp:TextBox ID="txdxh" runat="server"></asp:TextBox></li>
                        <li>TIF文件(MB)：<asp:TextBox ID="TIFwj" runat="server"></asp:TextBox></li>
                        <li>右下角纬度：<asp:TextBox ID="yxjwd" runat="server"></asp:TextBox></li></ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 1065px; position: absolute;">
                    <ul class="lih">
                        <li>成像时间：<asp:TextBox ID="cxsj" runat="server"></asp:TextBox></li>
                        <li>图像大小(列)：<asp:TextBox ID="txdxl" runat="server"></asp:TextBox></li>
                    </ul>
                </div>
            </div>
            <div style="position: relative;">
                <div style="margin-left: -60px; margin-bottom: -10px;">
                    <ul class="lih">
                        <li>云雾比率：<asp:TextBox ID="ywbl" runat="server"></asp:TextBox></li>
                        <li>摄区代号：<asp:TextBox ID="sqdh" runat="server"></asp:TextBox></li>
                        <li>焦距mm：<asp:TextBox ID="jj" runat="server"></asp:TextBox></li>
                        <li>摄区面积：<asp:TextBox ID="sqmj" runat="server"></asp:TextBox></li>
                        <li>离场日期：<asp:TextBox ID="lcrq" runat="server"></asp:TextBox></li>
                        <li>作业人员：<asp:TextBox ID="zyry" runat="server"></asp:TextBox></li>
                    </ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 250px; position: absolute;">
                    <ul class="lih">
                        <li>波段类型：<asp:TextBox ID="bdlx" runat="server"></asp:TextBox></li>
                        <li>行政区划：<asp:TextBox ID="xzqh" runat="server"></asp:TextBox></li>
                        <li>生产单位：<asp:TextBox ID="scdw" runat="server"></asp:TextBox></li>
                        <li>图幅数：<asp:TextBox ID="tfs" runat="server"></asp:TextBox></li>
                        <li>离场时间：<asp:TextBox ID="lcsj" runat="server"></asp:TextBox></li>
                        <li>任务名称：<asp:TextBox ID="rwmc" runat="server"></asp:TextBox></li>
                    </ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 515px; position: absolute;">
                    <ul class="lih">
                        <li>波段数：<asp:TextBox ID="bds" runat="server"></asp:TextBox></li>
                        <li>镜头编号：<asp:TextBox ID="jtbh" runat="server"></asp:TextBox></li>
                        <li>有效航天数：<asp:TextBox ID="yxhts" runat="server"></asp:TextBox></li>
                        <li>使用机场：<asp:TextBox ID="syjc" runat="server"></asp:TextBox></li>
                        <li></li>
                        <li>图幅编号：<asp:TextBox ID="tfbh" runat="server"></asp:TextBox></li>
                    </ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 790px; position: absolute;">
                    <ul class="lih">
                        <li>产品等级：<asp:TextBox ID="cpdj" runat="server"></asp:TextBox></li>
                        <li>像素大小：<asp:TextBox ID="xsdx" runat="server"></asp:TextBox></li>
                        <li>完成日期：<asp:TextBox ID="wcrq" runat="server"></asp:TextBox></li>
                        <li>进场日期：<asp:TextBox ID="jcrq" runat="server"></asp:TextBox></li>
                        <li></li>
                        <li>生产日期：<asp:TextBox ID="scrq" runat="server"></asp:TextBox></li>
                    </ul>
                </div>
                <div style="margin-left: -50px; top: -15px; left: 1065px; position: absolute;">
                    <ul class="lih">
                        <li>视角：<asp:TextBox ID="sj" runat="server"></asp:TextBox></li>
                        <li>POS类型/编号：<asp:TextBox ID="POSlx" runat="server"></asp:TextBox></li>
                        <li>完成时间：<asp:TextBox ID="wcsj" runat="server"></asp:TextBox></li>
                        <li>进场时间：<asp:TextBox ID="jcsj" runat="server"></asp:TextBox></li>
                        <li></li>
                        <li>生产时间：<asp:TextBox ID="scsj" runat="server"></asp:TextBox></li>
                    </ul>
                </div>
            </div>
            <div style="position: relative;">
                <div style="margin-top:40px; margin-left:600px;">
                    <asp:Button ID="Button2" runat="server"  Text="保存信息" OnClick="Button2_Click" /></div>
            </div>
        </fieldset>
    </div>
    </form>
</body>
</html>
